package com.jiazhong.basic.pack0316.thread;

import com.jiazhong.basic.pack0316.thread.DemoE;

public class DemoE1 implements Runnable {

    private DemoE e;

    public DemoE1(DemoE e) {
        this.e = e;
    }

    @Override
    public void run() {
        for (int i = 1; i < 21; i++) {
            e.change();
        }
    }
}
